package com.canyou.basic.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.canyou.basic.entity.sms.SmsSendVO;
import com.canyou.basic.model.SmsSend;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author canyou
 * @since 2020-06-28
 */
public interface SmsSendMapper extends BaseMapper<SmsSend> {

    /**
     * 分页获取短信列表
     *
     * @param page      分页信息
     * @param condition 查询条件(手机号/发送内容)
     * @return
     */
    IPage<SmsSendVO> getPageList(@Param("page") IPage<SmsSendVO> page, @Param("condition") String condition);

}
